package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Permission;
import com.itheima.health.pojo.Role;

import java.util.List;

public interface PermissionService {
    Permission findById(Integer id);

    List<Permission> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    boolean add(Permission permission);

    boolean update(Permission permission);

    boolean deleteById(Integer id);
}
